From: Jasper St. Pierre Date: Fri, 3 Feb 2012 19:20:40 +0000 (-0500) Subject: shell-util: Remove shell_breakpoint X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7110 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=458b0b22fc97b7906e572f1059763f25549ecffc;p=gnome-shell.git shell-util: Remove shell_breakpoint A near identical function appears in gjs, in the "system" module: const System = imports.system; System.breakpoint(); --- diff --git a/src/shell-util.c b/src/shell-util.c index 0f5e16463..27b221743 100644 --- a/src/shell-util.c +++ b/src/shell-util.c @@ -678,18 +678,6 @@ shell_get_file_contents_utf8_sync (const char *path, return contents; } -/** - * shell_breakpoint: - * - * Using G_BREAKPOINT(), interrupt the current process. This is useful - * in conjunction with a debugger such as gdb. - */ -void -shell_breakpoint (void) -{ - G_BREAKPOINT (); -} - /** * shell_parse_search_provider: * @data: description of provider diff --git a/src/shell-util.h b/src/shell-util.h index b0752ae97..8a8e5b9fc 100644 --- a/src/shell-util.h +++ b/src/shell-util.h @@ -39,8 +39,6 @@ gboolean shell_write_string_to_stream (GOutputStream *stream, char *shell_get_file_contents_utf8_sync (const char *path, GError **error); -void shell_breakpoint (void); - gboolean shell_parse_search_provider (const char *data, char **name, char **url,